#ifndef EXAMPLE_H
#define EXAMPLE_H

#include <QObject>
#include <string>
using namespace std;

class Receiver : public QObject {
    Q_OBJECT
public:
    Receiver();
    ~Receiver()
    {
    }
signals:
    void mySignal(const string &str);

public slots:
    void mySlot(void);
    void mySlot(const string &str);

protected slots:
    void mySlot(const int &x);
};

class Sender : public QObject {
    Q_OBJECT

public:
    Sender()
    {
    }
    ~Sender()
    {
    }
    void EmitAllSignals(void);

signals:
    void mySignal(void);
    void mySignal(const int &x);
};

#endif
